<fieldset style="width: 1000px;">
    <h1>Listar Empleados</h1>
    <p style="margin: 20px 0 20px;">Lista todos los Empleados dados de Baja y permite restaurarlos.</p>
    <?php 
      $atributos = array('id' => 'editar_empleado_form', 'class' => 'form_editar_empleado', 'name' => 'editar_empleado_form');
       echo form_open('listar_empleado_baja/restaurarEmpleado', $atributos);?>
    <table id="tabla" cellspacing="0"> 
        <caption style="font-size: 13px; text-align: left; margin-bottom: 5px;"><?php echo anchor('http://www.panambi.com/listar_empleado/index/','Volver'); ?></caption>
        <tr>
            <th class="elthini"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true, sortType: 'numeric'})" style="color:#333333;">Dni</a></th>
            <th class="elth"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true, sortType: 'numeric'})" style="color:#333333;">Cuil</a></th>
            <th class="elth"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true})" style="color:#333333;">Nombre</a></th>
            <th class="elth"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true})" style="color:#333333;">Apellido</a></th>
            <th class="elth"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true})" style="color:#333333;">Fecha Nacimiento</a></th>
            <th class="elth"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true})" style="color:#333333;">Fecha Alta</a></th>
            <th class="elth"><a class='bold' href="javascript:$('#tabla').sortTable({onCol: 1, keepRelationships: true})" style="color:#333333;">Fecha Baja</a></th>
            <th class="elthfin">Restaurar Empleado</th>
        </tr>
        <?php foreach($empleados as $i=>$id){ ?>
        <tr>
        <td class="eltd"><?php echo $id['idEmpleado'] ?></td>
        <td class="eltd"><?php echo $id['cuit'] ?></td>
        <td class="eltd"><?php echo $id['nombre'] ?></td>
        <td class="eltd"><?php echo $id['apellido'] ?></td>
        <td class="eltd"><?php echo $id['fechaNac'] ?></td>
        <td class="eltd"><?php echo $id['fechaAl'] ?></td> 
        <td class="eltd"><?php echo $id['fechaBa'] ?></td> 
        <td class="eltd"><button style="background: #333333; border: 0;" title="Restaurar" name="restaurar" value="<?php echo $id['idEmpleado'] ?>" type="submit"><img src="<?php echo base_url() ?>css/images/res.png" alt="" /></button></td>
<!--        <td class="eltd"><INPUT name="restaurar" title="Restaurar" alt="restaurar" src="<?php echo base_url() ?>css/images/res.png" type="image" value="<?php echo $id['idEmpleado'] ?>"/></td>    -->
        </tr>
        <?php }?>
    </table>
<?php echo form_close() ?>     
</fieldset>  